
*%-------------------------------------------------------------------------
*% VersionSection
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*GPDFileName: "hpp0370t.gpd"
*GPDSpecVersion: "1.0"

*%-------------------------------------------------------------------------
*% IncludeSection
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*Include: "stdnames.gpd"
*Include: "hpz3mlhn.gpd"
*Include: "hpzsmlhn.gpd"







*%-------------------------------------------------------------------------
*%% Global Entries from Anima
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*ModelName: "HP Photosmart 370 Series"
*MasterUnits: PAIR(1200, 1200)
*PrinterType: SERIAL
*PrintRateUnit: PPM





*MaxCopies: 100




*%-------------------------------------------------------------------------
*% ModelNameSection
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*%% Global Entries from Anima
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*%% MacrosSection Starts
*%-------------------------------------------------------------------------
*%% CommandBlockMacroSection Starts
*%-------------------------------------------------------------------------
*Macros: OEMCommonCombinations
{
        OEM_COMMON_INFO:
+   "HTPD<00 00 00 04 0F 00 00 00>"
+   =OEM_RM_STINGRAY
+   "PTYP<00 00 00 04>AMCP"
+   "PCMG<00 00 00 04 1A 00 00 00>"
+   "DUPL<00 00 00 04 1A 00 00 00>"
+   "Q000<0000000A>Export_Q_F"
+   "W000<0000000A>Export_W_B"
+   "R000<0000000A>Export_R_A"
+   "P000<0000000A>Export_R_B"
+   "E000<0000000A>Export_E_A"
+   "T000<0000000A>Export_T_A"
+   "T001<0000000A>Export_T_B"
+   "T002<0000000A>Export_T_C"
+   "T003<0000000A>Export_T_E"
+   "T004<0000000A>Export_T_F"
+   "T005<0000000A>Export_T_G"
+   "T006<0000000A>Export_T_H"
+   "T007<0000000A>Export_T_A"
+   "Y000<0000000A>Export_Y_A"
+   "Y001<0000000A>Export_Y_D"
+   "U000<0000000A>Export_U_A"
+   "U001<0000000A>Export_U_B"
}




*BlockMacro: CMD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_FastDraft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_FAST_GLOSSY =PCL_IDX_HP_PHOTO
    }
}
*BlockMacro: CMD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_FAST_GLOSSY =PCL_IDX_HP_PHOTO
    }
}
*BlockMacro: CMD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_FAST_GLOSSY =PCL_IDX_HP_PHOTO
    }
}
*BlockMacro: CMD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_HighResMode
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_1200LETTER
+       =PCL_MEDIA_FAST_GLOSSY =PCL_IDX_HP_PHOTO
    }
}


*BlockMacro: CMD_MediaType_OtherPhotoPapers_PrintQuality_FastDraft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_FAST_GLOSSY =PCL_IDX_OTHER_PHOTO
    }
}
*BlockMacro: CMD_MediaType_OtherPhotoPapers_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_FAST_GLOSSY =PCL_IDX_OTHER_PHOTO
    }
}
*BlockMacro: CMD_MediaType_OtherPhotoPapers_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_FAST_GLOSSY =PCL_IDX_OTHER_PHOTO
    }
}
*BlockMacro: CMD_MediaType_OtherPhotoPapers_PrintQuality_HighResMode
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_1200LETTER
+       =PCL_MEDIA_FAST_GLOSSY =PCL_IDX_OTHER_PHOTO
    }
}
*BlockMacro: CMD_MediaType_PlainPaper_PrintQuality_FastDraft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_PLAIN
    }
}
*BlockMacro: CMD_MediaType_PlainPaper_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_PLAIN
    }
}
*BlockMacro: CMD_MediaType_PlainPaper_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_PLAIN
    }
}
*BlockMacro: CMD_MediaType_PlainPaper_PrintQuality_HighResMode
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_1200LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_PLAIN
    }
}
*%-------------------------------------------------------------------------
*%% OEMBlockMacroSection starts
*%-------------------------------------------------------------------------


*BlockMacro: OCD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_FastDraft
{
        EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_16000 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
+   =OEM_SPEEDMECH_ENABLE
}
*BlockMacro: OCD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_Normal
{
        EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_8000 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
+   =OEM_SPEEDMECH_ENABLE
}
*BlockMacro: OCD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_Best
{
        EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_1340 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}
*BlockMacro: OCD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_HighResMode
{
        EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC12122 =OEM_PQ_HIGH_RES =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_1200 =OEM_BFP_HALFTONE_BLACKVERTRES_1200
+   =OEM_BFP_HALFTONE_COLORHORZRES_1200 =OEM_BFP_HALFTONE_COLORVERTRES_1200
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_1340 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}



*BlockMacro: OCD_MediaType_OtherPhotoPapers_PrintQuality_FastDraft
{
        EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_ACAPULCO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_16000 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
+   =OEM_SPEEDMECH_ENABLE
}
*BlockMacro: OCD_MediaType_OtherPhotoPapers_PrintQuality_Normal
{
        EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_ACAPULCO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_8000 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
+   =OEM_SPEEDMECH_ENABLE
}
*BlockMacro: OCD_MediaType_OtherPhotoPapers_PrintQuality_Best
{
        EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_ACAPULCO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_1340 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}
*BlockMacro: OCD_MediaType_OtherPhotoPapers_PrintQuality_HighResMode
{
        EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC12122 =OEM_PQ_HIGH_RES =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_ACAPULCO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_1200 =OEM_BFP_HALFTONE_BLACKVERTRES_1200
+   =OEM_BFP_HALFTONE_COLORHORZRES_1200 =OEM_BFP_HALFTONE_COLORVERTRES_1200
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_1340 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}
*BlockMacro: OCD_MediaType_PlainPaper_PrintQuality_FastDraft
{
        EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_42670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_0
+   =OEM_SPEEDMECH_ENABLE
+   =OEM_MTMB_HP_PREMIUM_PLUS_PHOTO_PAPER
}
*BlockMacro: OCD_MediaType_PlainPaper_PrintQuality_Normal
{
        EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_ENABLE =OEM_CS_REDUCED_K_CHANNEL_MAX_LINE_WIDTH_12
+   =OEM_CS_REDUCED_K_CHANNEL_MAX_FONT_SIZE_24
+   =OEM_HPAFLT_COMPRESSION_SLOPE_8000 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
+   =OEM_SPEEDMECH_ENABLE
+   =OEM_MTMB_HP_PREMIUM_PLUS_PHOTO_PAPER
}
*BlockMacro: OCD_MediaType_PlainPaper_PrintQuality_Best
{
        EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_1340 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
+   =OEM_MTMB_HP_PREMIUM_PLUS_PHOTO_PAPER
}
*BlockMacro: OCD_MediaType_PlainPaper_PrintQuality_HighResMode
{
        EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC12122 =OEM_PQ_HIGH_RES =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_1200 =OEM_BFP_HALFTONE_BLACKVERTRES_1200
+   =OEM_BFP_HALFTONE_COLORHORZRES_1200 =OEM_BFP_HALFTONE_COLORVERTRES_1200
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_1340 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
+   =OEM_MTMB_HP_PREMIUM_PLUS_PHOTO_PAPER
}
*%-------------------------------------------------------------------------
*%% OtherBlockMacroSection starts
*%-------------------------------------------------------------------------



*BlockMacro: MediaType_HP_PhotoPaper_Glossy
{
    *switch: PrintQuality
    {
        *case: FastDraft
        {
            *InsertBlock: =CMD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_FastDraft
            *InsertBlock: =OCD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_FastDraft
        }
        *default: 
        {
            *InsertBlock: =CMD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_Best
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_Best
        }
        *case: 4800x1200
        {
            *InsertBlock: =CMD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_HighResMode
            *InsertBlock: =OCD_MediaType_HP_PhotoPaper_Glossy_PrintQuality_HighResMode
        }
    }
}




*BlockMacro: MediaType_OtherPhotoPapers
{
    *switch: PrintQuality
    {
        *case: FastDraft
        {
            *InsertBlock: =CMD_MediaType_OtherPhotoPapers_PrintQuality_FastDraft
            *InsertBlock: =OCD_MediaType_OtherPhotoPapers_PrintQuality_FastDraft
        }
        *default: 
        {
            *InsertBlock: =CMD_MediaType_OtherPhotoPapers_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_OtherPhotoPapers_PrintQuality_Best
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_OtherPhotoPapers_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_OtherPhotoPapers_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_OtherPhotoPapers_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_OtherPhotoPapers_PrintQuality_Best
        }
        *case: 4800x1200
        {
            *InsertBlock: =CMD_MediaType_OtherPhotoPapers_PrintQuality_HighResMode
            *InsertBlock: =OCD_MediaType_OtherPhotoPapers_PrintQuality_HighResMode
        }
    }
}
*BlockMacro: MediaType_PlainPaper
{
    *switch: PrintQuality
    {
        *case: FastDraft
        {
            *InsertBlock: =CMD_MediaType_PlainPaper_PrintQuality_FastDraft
            *InsertBlock: =OCD_MediaType_PlainPaper_PrintQuality_FastDraft
        }
        *default: 
        {
            *InsertBlock: =CMD_MediaType_PlainPaper_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_PlainPaper_PrintQuality_Normal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_PlainPaper_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_PlainPaper_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_PlainPaper_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_PlainPaper_PrintQuality_Best
        }
        *case: 4800x1200
        {
            *InsertBlock: =CMD_MediaType_PlainPaper_PrintQuality_HighResMode
            *InsertBlock: =OCD_MediaType_PlainPaper_PrintQuality_HighResMode
        }
    }
}
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*%% FeatureSection Starts
*%-------------------------------------------------------------------------
*Feature: RESDLL
{
    *Name: "resource dll files"
    *Option: STRRESSEC
    {
        *Name: "hpzstlhn.dll"
    }
}
*Feature: HPPreAnalysis
{
    *Name: "HPPreAnalysis"
    *DefaultOption: False
    *Option: False
    {
        *Name: "False"
    }
}
*Feature: MSPreAnalysis
{
    *Name: "MSPreAnalysis"
    *DefaultOption: False
    *Option: False
    {
        *Name: "False"
    }
}
*Feature: HPMinimizeMargins
{
    *Name: "HPMinimizeMargins"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *%HelpIndex: 15318
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}
*Feature: HPPrintPreview
{
    *rcNameID: =IDS_SHOW_PREVIEW_HK
    *%HelpIndex: 15466
    *DefaultOption: False
    *Option: False
    {
        *Name: "False"
    }
    *Option: True
    {
        *Name: "True"
    }
}
*Feature: HPCenterOnPage
{
    *Name: ""
    *DefaultOption: False
    *Option: False
    {
        *Name: "False"
    }
    *Option: True
    {
        *Name: "True"
    }
}
*Feature: HPOverSprayOption
{
    *rcNameID: =IDS_OVERSPRAY
    *FeatureType: DOC_PROPERTY
    *DefaultOption: Automatic
    *%HelpIndex: =IDH_VARIABLE_OVERSPRAY_Q304
    *Option: Automatic
    {
        *rcNameID: =IDS_HP_AUTOMATIC
    }
    *Option: Change
    {
        *rcNameID: =IDS_DRY_TIME_CHANGE
    }
}
*Feature: HPOverSpray
{
    *rcNameID: =IDS_OVERSPRAY
    *FeatureType: DOC_PROPERTY
    *DefaultOption: 100
    *Option: 100
    {
        *rcNameID: =IDS_DEFAULT
    }
    *Option: 75
    {
        *Name: ""
    }
    *Option: 50
    {
        *Name: ""
    }
    *Option: 25
    {
        *rcNameID: =IDS_OVERSPRAY_LEAST
    }
}






*Feature: HPBorderLessPhoto
{
    *Name: "Borderless Photo"
    *FeatureType: DOC_PROPERTY
    *%HelpIndex: 15241
    *DefaultOption: False
    *Option: False
    {
        *Name: ""
    }
    *Option: True
    {
        *Name: ""
    }
}
*Feature: HPBorderLessAutoFit
{
    *Name: "Borderless AutoFit"
    *FeatureType: DOC_PROPERTY
    *%HelpIndex: 15241
    *DefaultOption: False
    *Option: False
    {
        *Name: ""
    }
    *Option: True
    {
        *Name: ""
    }
}
*Feature: HPOrientRotate180
{
    *rcNameID: =IDS_ORIENT_ROTATE_180
    *%HelpIndex: =IDH_UNIDRV_PRINT_ROTATED
    *DefaultOption: False
    *Option: False
    {
        *rcNameID: =IDS_OFF_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ON_DISPLAY
    }
}
*Feature: JobUI
{
    *Name: "JobUI"
    *DefaultOption: True
    *Option: True
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.80
            *CallbackID: 18
        }
    }
}
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *%HelpIndex: 15284
    *DefaultOption: HP_BORDERLESS_PHOTO_4_X_6_IN_WT
  
   *Option: HP_BORDERLESS_PHOTO_4_X_6_IN_WT
    {
        *rcNameID: =IDS_HP_BDLESS_PHOTO_4X6_TAB
        *PageDimensions: PAIR(4800,7200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_PHOTO_4X6
        }
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4800,7200)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(0,0)
            }
            *case: LANDSCAPE_CC270
            {
                *PrintableArea: PAIR(4800,7200)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(4800,0)
            }
        }
    }
    
  
  
  
  *Option: A6
    {
        *rcNameID: =IDS_A6
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_A6
        }
        *switch: HPMinimizeMargins
        {
            *case: True
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *PrintableArea: PAIR(4640,6708)
                        *PrintableOrigin: PAIR(158,144)
                        *CursorOrigin: PAIR(158,144)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *PrintableArea: PAIR(4640,6708)
                        *PrintableOrigin: PAIR(158,144)
                        *CursorOrigin: PAIR(4798,144)
                    }
                }
            }
            *case: False
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *PrintableArea: PAIR(4640,6336)
                        *PrintableOrigin: PAIR(158,83)
                        *CursorOrigin: PAIR(158,83)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *PrintableArea: PAIR(4640,6336)
                        *PrintableOrigin: PAIR(158,83)
                        *CursorOrigin: PAIR(4798,83)
                    }
                }
            }
        }
    }
   *Option: HAGAKI_CARD
    {
        *rcNameID: =IDS_HAGAKI_CARD
        *PageDimensions: PAIR(4728, 6996)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_JAPANESE_POSTCARD
        }
        *switch: HPMinimizeMargins
        {
            *case: True
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *PrintableArea: PAIR(4416,6708)
                        *PrintableOrigin: PAIR(156,144)
                        *CursorOrigin: PAIR(156,144)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *PrintableArea: PAIR(4416,6708)
                        *PrintableOrigin: PAIR(156,144)
                        *CursorOrigin: PAIR(4572,144)
                    }
                }
            }
            *case: False
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *PrintableArea: PAIR(4416,6208)
                        *PrintableOrigin: PAIR(156,83)
                        *CursorOrigin: PAIR(156,83)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *PrintableArea: PAIR(4416,6208)
                        *PrintableOrigin: PAIR(156,83)
                        *CursorOrigin: PAIR(4572,83)
                    }
                }
            }
        }
    }
     *Option: INDEX_CARD_4X6
    {
        *rcNameID: =IDS_HP_INDEX_CARD_4X6_NOPAREN
        *PageDimensions: PAIR(4800, 7200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_INDEX_4x6
        }
        *switch: HPMinimizeMargins
        {
            *case: True
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *PrintableArea: PAIR(4480,6912)
                        *PrintableOrigin: PAIR(160,144)
                        *CursorOrigin: PAIR(160,144)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *PrintableArea: PAIR(4480,6912)
                        *PrintableOrigin: PAIR(160,144)
                        *CursorOrigin: PAIR(4640,144)
                    }
                }
            }
            *case: False
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *PrintableArea: PAIR(4480,6560)
                        *PrintableOrigin: PAIR(160,83)
                        *CursorOrigin: PAIR(160,83)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *PrintableArea: PAIR(4480,6560)
                        *PrintableOrigin: PAIR(160,83)
                        *CursorOrigin: PAIR(4640,83)
                    }
                }
            }
        }
    }
    
    
    *Option: HP_BORDERLESS_HAGAKI_CARD_100x148
    {
        *rcNameID: =IDS_HP_BDLESS__HAGAKI_CARD
        *PageDimensions: PAIR(4728,6996)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_JAPANESE_POSTCARD
        }
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4728,6996)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(0,0)
            }
            *case: LANDSCAPE_CC270
            {
                *PrintableArea: PAIR(4728,6996)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(4728,0)
            }
        }
    }
    *Option: HP_BORDERLESS_PHOTO_10_X_15_CM
    {
        *rcNameID: =IDS_HP_BORDERLESS_PHOTO_10x15
        *PageDimensions: PAIR(4728,7176)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_10x15
        }
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4728,7176)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(0,0)
            }
            *case: LANDSCAPE_CC270
            {
                *PrintableArea: PAIR(4728,7176)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(4728, 0)
            }
        }
    }
    *Option: HP_BORDERLESS_PHOTO_4_X_6_IN
    {
        *rcNameID: =IDS_HP_BDLESS_4X6
        *PageDimensions: PAIR(4800,7200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_PHOTO_4X6
        }
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4800,7200)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(0,0)
            }
            *case: LANDSCAPE_CC270
            {
                *PrintableArea: PAIR(4800,7200)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(4800,0)
            }
        }
    }
    *Option: HP_BORDERLESS_PHOTO_A6
    {
        *rcNameID: =IDS_HP_BORDERLESS_PHOTO_A6_CARD
        *PageDimensions: PAIR(4956, 6996)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_A6
        }
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4956, 6996)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(0,0)
            }
            *case: LANDSCAPE_CC270
            {
                *PrintableArea: PAIR(4956, 6996)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(4956,0)
            }
        }
    }
    *Option: HP_BORDERLESS_PHOTO_L
    {
        *rcNameID: =IDS_HP_BDLESS_PHOTO_L
        *PageDimensions: PAIR(4200,6000)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_PHOTO_L
        }
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4200,6000)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(0,0)
            }
            *case: LANDSCAPE_CC270
            {
                *PrintableArea: PAIR(4200,6000)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(4200,0)
            }
        }
    }
   
    *Option: HP_BORDERLESS_PHOTO_L_TEAROFF_TAB
    {
        *rcNameID: =IDS_HP_BDLESS_PHOTO_L_TAB
        *PageDimensions: PAIR(4200,6000)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_PHOTO_L
        }
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4200,6000)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(0,0)
            }
            *case: LANDSCAPE_CC270
            {
                *PrintableArea: PAIR(4200,6000)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(4200,0)
            }
        }
    }
    *Option: HP_BORDERLESS_PHOTO_10_X_15_CM_WT
    {
        *rcNameID: =IDS_HP_BORDERLESS_PHOTO_10x15_TAB
        *PageDimensions: PAIR(4728,7176)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_10x15
        }
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4728,7176)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(0,0)
            }
            *case: LANDSCAPE_CC270
            {
                *PrintableArea: PAIR(4728,7176)
                *PrintableOrigin: PAIR(0,0)
                *CursorOrigin: PAIR(4728,0)
            }
        }
    }
   
   *Option: PHOTO_4X6_IN_WT
    {
        *rcNameID: =IDS_HP_PHOTO_4X6_IN_TAB
        *PageDimensions: PAIR(4800, 7200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_INDEX_4x6
*%Same for PHOTO_4x6_IN_WT
        }
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4480,6880)
                *PrintableOrigin: PAIR(160,150)
                *CursorOrigin: PAIR(160,150)
            }
            *case: LANDSCAPE_CC270
            {
                *PrintableArea: PAIR(4480,6880)
                *PrintableOrigin: PAIR(160,150)
                *CursorOrigin: PAIR(4640,150)
            }
        }
    }
    *Option: PHOTO_4X6_IN
    {
        *rcNameID: =IDS_HP_PHOTO_4X6_IN
        *PageDimensions: PAIR(4800,7200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_INDEX_4x6
*%Same for PHOTO_4x6
        }
        *switch: HPMinimizeMargins
        {
            *case: True
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *PrintableArea: PAIR(4480,6912)
                        *PrintableOrigin: PAIR(160,144)
                        *CursorOrigin: PAIR(160,144)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *PrintableArea: PAIR(4480,6912)
                        *PrintableOrigin: PAIR(160,144)
                        *CursorOrigin: PAIR(4640,144)
                    }
                }
            }
            *case: False
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *PrintableArea: PAIR(4480,6944)
                        *PrintableOrigin: PAIR(160,83)
                        *CursorOrigin: PAIR(160,83)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *PrintableArea: PAIR(4480,6944)
                        *PrintableOrigin: PAIR(160,83)
                        *CursorOrigin: PAIR(4640,83)
                    }
                }
            }
        }
    }  


    *Option: PHOTO_L
    {
        *rcNameID: =IDS_HP_PHOTO_L
        *PageDimensions: PAIR(4200, 6200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_PHOTO_L
        }
        *switch: HPMinimizeMargins
        {
            *case: True
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *PrintableArea: PAIR(3872,5712)
                        *PrintableOrigin: PAIR(164,144)
                        *CursorOrigin: PAIR(164,144)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *PrintableArea: PAIR(3872,5712)
                        *PrintableOrigin: PAIR(164,144)
                        *CursorOrigin: PAIR(4036,144)
                    }
                }
            }
            *case: False
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *PrintableArea: PAIR(3872,5760)
                        *PrintableOrigin: PAIR(164,83)
                        *CursorOrigin: PAIR(164,83)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *PrintableArea: PAIR(3872,5760)
                        *PrintableOrigin: PAIR(164,83)
                        *CursorOrigin: PAIR(4036,83)
                    }
                }
            }
        }
    }
    *Option: PHOTO_L_TEAROFF_TAB
    {
        *rcNameID: =IDS_HP_PHOTO_L_TAB
        *PageDimensions: PAIR(4200, 6000)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_PHOTO_L
        }
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(3872,5712)
                *PrintableOrigin: PAIR(164,144)
                *CursorOrigin: PAIR(164,144)
            }
            *case: LANDSCAPE_CC270
            {
			    *PrintableArea: PAIR(3872,5712)
                *PrintableOrigin: PAIR(164,144)
                *CursorOrigin: PAIR(4036,144)
            }
        }
    }
    *Option: CUSTOMSIZE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *MinSize: PAIR(4200,6000)
        *MaxSize: PAIR(5730,14820)
        *MaxPrintableWidth: 5730
        *CenterPrintable?: TRUE
        *switch: HPBorderLessPhoto
        {
            *case: True
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *CustCursorOriginX: %d{0}
                        *CustCursorOriginY: %d{0}
                        *CustPrintableOriginX: %d{0}
                        *CustPrintableOriginY: %d{0}
                        *CustPrintableSizeX: %d{PhysPaperWidth}
                        *CustPrintableSizeY: %d{PhysPaperLength}
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *CustCursorOriginX: %d{0}
                        *CustCursorOriginY: %d{PhysPaperLength}
                        *CustPrintableOriginX: %d{0}
                        *CustPrintableOriginY: %d{0}
                        *CustPrintableSizeX: %d{PhysPaperWidth}
                        *CustPrintableSizeY: %d{PhysPaperLength}
                    }
                }
            }
            *case: False
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *CustCursorOriginX: %d{300}
                        *CustCursorOriginY: %d{144}
                        *CustPrintableOriginX: %d{300}
                        *CustPrintableOriginY: %d{144}
                        *CustPrintableSizeX: %d{PhysPaperWidth - 600}
                        *CustPrintableSizeY: %d{PhysPaperLength - 288}
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *CustCursorOriginX: %d{300}
                        *CustCursorOriginY: %d{PhysPaperLength - 144}
                        *CustPrintableOriginX: %d{300}
                        *CustPrintableOriginY: %d{144}
                        *CustPrintableSizeX: %d{PhysPaperWidth - 600}
                        *CustPrintableSizeY: %d{PhysPaperLength - 288}
                    }
                }
            }
        }
    }
}

*Feature: InputBin
{
    *rcNameID: =IDS_PAPER_SOURCE
    *%HelpIndex: 14025
    *DefaultOption: Tray1
    *Option: Tray1
    {
        *rcNameID: =IDS_PRINTER_AUTO_SELECT
        *switch: PaperSize
        {
            *default: 
            {
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.10
                    *Cmd: =PCL_MEDSOURCE_TRAY1
                }
            }
        }
    }
}
*Feature: HPNUseDiffFirstPageChoice
{
    *Name: "HPNUseDiffFirstPageChoice"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }
}
*Feature: Orientation
{
    *rcNameID: =IDS_ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =IDS_PORTRAIT_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.50
            *Cmd: =PCL_ORIENT_PORTRAIT
        }
    }
    *Option: LANDSCAPE_CC270
    {
        *rcNameID: =IDS_LANDSCAPE_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.50
            *Cmd: =PCL_ORIENT_LANDSCAPE
        }
    }
}
*Feature: HPInkVolumeOption
{
    *rcNameID: =IDS_INKVOLUME
    *FeatureType: DOC_PROPERTY
    *DefaultOption: Automatic
    *%HelpIndex: =IDH_INK_VOLUME_EC6
    *Option: Automatic
    {
        *rcNameID: =IDS_HP_AUTOMATIC
    }
    *Option: Change
    {
        *rcNameID: =IDS_DRY_TIME_CHANGE
    }
}
*Feature: HPInkVolume
{
    *rcNameID: =IDS_INKVOLUME
    *FeatureType: DOC_PROPERTY
    *%HelpIndex: =IDH_INK_VOLUME_EC6
    *DefaultOption: Normal
    *Option: Lighter
    {
        *rcNameID: =IDS_LIGHT3
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PCL_INKVOL_LIGHTER
        }
    }
    *Option: Light
    {
        *Name: "Light"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PCL_INKVOL_LIGHT
        }
    }
    *Option: Normal
    {
        *Name: "Normal"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PCL_INKVOL_NORMAL
        }
    }
    *Option: Heavy
    {
        *Name: "Heavy"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PCL_INKVOL_HEAVY
        }
    }
    *Option: Heaviest
    {
        *Name: "Heaviest"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PCL_INKVOL_HEAVIER
        }
    }
}
*Feature: HPPrintInGrayScale
{
    *rcNameID: =IDS_PRINT_IN_GRAYSCALE
    *%HelpIndex: 15278
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: False
    {
        *rcNameID: =IDS_DOCUI_COLOR_OPT_PRN_IN_COLOR
    }
    *Option: HighQuality
    {
        *rcNameID: =IDS_HIGH_QUALITY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =HPA_PCL_GRAYSCALE_COMMAND_HIGH_QUALITY
        }
    }
    *Option: BlackOnly
    {
        *rcNameID: =IDS_BLACK_GRAY_PHOTO_CARTRIDGE_ONLY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =HPA_PCL_GRAYSCALE_COMMAND_BLACK_ONLY
        }
    }
}
*Feature: PrintQuality
{
    *rcNameID: =PRINT_QUALITY_DISPLAY
    *ConflictPriority: 20
    *FeatureType: DOC_PROPERTY
    *DefaultOption: Best
    *Option: FastDraft
    {
        *rcNameID: =IDS_DRAFT
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.40
            *Cmd: =PCL_PQ_ECONO
        }
    }
    *Option: Normal
    {
        *rcNameID: =IDS_NORMAL
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.40
            *Cmd: =PCL_PQ_NORMAL
        }
    }
    *Option: Best
    {
        *rcNameID: =IDS_BEST
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.40
            *Cmd: =PCL_PQ_BEST
        }
    }
    *Option: 4800x1200
    {
        *rcNameID: =IDS_MAXIMUM_DPI
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.40
            *Cmd: =PCL_PQ_HIGHRES
        }
    }
}
*Feature: PrintQualityGroup
{
    *Name: "PrintQualityGroup"
    *%HelpIndex: 15298
    *FeatureType: DOC_PROPERTY
    *DefaultOption: PQGroup_1
    *Option: PQGroup_3
    {
        *rcNameID: =IDS_DRAFT
    }
    *Option: PQGroup_2
    {
        *rcNameID: =IDS_NORMAL
    }
    *Option: PQGroup_1
    {
        *rcNameID: =IDS_BEST
    }
    *Option: PQGroup_5
    {
        *rcNameID: =IDS_MAXIMUM_DPI
    }
}
*Feature: HPColorMode
{
    *Name: "HPColorMode"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: COLOR_MODE
    *Option: COLOR_MODE
    {
        *Name: "Color Mode"
    }
}
*Feature: HPPDLType
{
    *Name: "HPPDLType"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: PDL_PCL3
    *Option: PDL_PCL3
    {
        *Name: "PCL 3"
    }
}


*Feature: ColorMode
{
    *rcNameID: =IDS_COLOR_PRINTING_MODE
*%=COLOR_PRINTING_MODE_DISPLAY
    *%HelpIndex: 12024
    *DefaultOption: Color24
    *Option: Color24
    {
        *rcNameID: =IDS_24BPP_DISPLAY
        *Color?: TRUE
        *DevNumOfPlanes: 0
        *DevBPP: 0
        *DrvBPP: 24
        *IPCallbackID: 1
        *Command: CmdSendBlockData
        {
            *Cmd: ""
        }
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.70
            *Cmd: =PJL_ENTER_PCL3GUICE
        }
    }
}
*Feature: MediaType
{
    *rcNameID: =IDS_MEDIA_TYPE_DISPLAY
    *%HelpIndex: 14100
    *ConflictPriority: 10
    *DefaultOption: HP_PHOTO_PAPER_GLOSSY 
    *Option: PLAIN
    {
        *rcNameID: =IDS_HP_PLAIN_PAPER
        *InsertBlock: =MediaType_PlainPaper
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
        *Constraints: HPBorderLessPhoto.True
    }
   
   
    *Option: OTHER_PHOTO_PAPER
    {
        *rcNameID: =IDS_OTHER_PHOTO_PAPER
        *InsertBlock: =MediaType_OtherPhotoPapers
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    
  *Option: HP_PHOTO_PAPER_GLOSSY
    {
        *rcNameID: =IDS_HP_PHOTO_PAPER_GLOSSY_DISPLAY
        *InsertBlock: =MediaType_HP_PhotoPaper_Glossy
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    
}
*Feature: Resolution
{
    *rcNameID: =IDS_RESOLUTION_DISPLAY
    *ConflictPriority: 18
    *DefaultOption: 600dpi
    *Option: 300dpi
    {
        *rcNameID: =IDS_300DPI
        *DPI: PAIR(300, 300)
        *TextDPI: PAIR(300, 300)
        *SpotDiameter: 100
        *Constraints: LIST(PrintQuality.Normal,PrintQuality.Best,PrintQuality.4800x1200)
    }
    *Option: 600dpi
    {
        *rcNameID: =IDS_600DPI
        *DPI: PAIR(600, 600)
        *TextDPI: PAIR(600, 600)
        *SpotDiameter: 100
        *Constraints: LIST(PrintQuality.FastDraft,PrintQuality.4800x1200)
    }
    *Option: 1200dpi
    {
        *rcNameID: =IDS_1200DPI_TEXT_RENDERING
        *DPI: PAIR(1200, 1200)
        *TextDPI: PAIR(1200, 1200)
        *SpotDiameter: 100
        *Constraints: LIST(PrintQuality.FastDraft,PrintQuality.Normal,PrintQuality.Best)
    }
}
*Feature: PQDPI
{
    *Name: "PQDPI"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: Installed
    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
    }
    *Option: Installed
    {
        *rcNameID: =IDS_INSTALLED
    }
}
*Feature: ActualCustomRange
{
    *Name: "Actual Custom Range"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: 121285_313690
*%Calculated from max. custom value.
    *Option: 121285_313690
    {
        *Name: "121285_313690"
    }
}
*Feature: HPMirrorPrint
{
    *rcNameID: =IDS_MIRROR_IMAGE_DISPLAY
    *%HelpIndex: 15259
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: True
    {
        *rcNameID: =IDS_ON
    }
    *Option: False
    {
        *rcNameID: =IDS_OFF
    }
}
*Feature: HPSpeedMech
{
    *Name: "HPSpeedMech"
    *DefaultOption: FastDraft
    *Option: FastDraft
    {
        *Name: "Draft"
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.35
            *CallbackID: 14
        }
    }
}
*Feature: HPSendPJLUsageCmd
{
    *Name: "HPSendPJLUsageCmd"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: LNNAME_ELON
    *Option: LNNAME_ELON
    {
        *Name: "LNNAME_ELON"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.40
            *CallbackID: 10
        }
    }
}
*Feature: PSAlignmentFile
{
    *Name: "PSAlignmentFile"
    *FeatureType: DOC_PROPERTY
    *Option: HPZ3Alhn
    {
        *Name: "HPZ3Alhn"
    }
}
*Feature: PSServicesOption
{
    *Name: "SRVOption"
    *FeatureType: DOC_PROPERTY
    *Option: ServiceFileEnd
    {
        *Name: "ServiceFileEnd"
    }
    *Option: LaunchToolBox
    {
        *Name: "/run ServicesPlugin"
    }
}
*Feature: HPDisplayDocUITab
{
    *Name: "HPDisplayDocUITab"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: True
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
*%191
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
*%189
    }
}
*Feature: HPColorSelectionForHPA
{
    *Name: "HPColorSelectionForHPA"
    *FeatureType: DOC_PROPERTY
    *Option: Enabled
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.22
            *CallbackID: 6
        }
    }
}

*Feature: HPInputColorSpace
{
    *Name: "HPInputColorSpace"
    *DefaultOption: COLORSMART
    *Option: COLORSMART
    {
        *rcNameID: =IDS_COLORSMART_SRGB
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.100
            *Cmd: =PCL_COLORSPACE_SRGB
        }
    }
}
*Feature: HPDriverData
{
    *Name: "HPDriverData"
    *Option: DriverData
    {
        *Name: "DriverData"
    }
    *Option: SerialNumber
    {
        *Name: "SerialNumber"
    }
    *Option: HPNameEnd
    {
        *Name: "HPNameEnd"
    }
}
*Feature: HPCustomSizeCommand
{
    *Name: "HPCustomSizeCommand"
    *ConcealFromUI?: TRUE
    *DefaultOption: TRUE
    *Option: TRUE
    {
        *Name: ""
        *switch: PaperSize
        {
           
        
            *case: CUSTOMSIZE
            {
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.59
                    *CallbackID: 19
                }
            }
        }
    }
}







*Feature: TextAsBlack
{
    *rcNameID: =IDS_PRINTALLBLACK
    *HelpIndex: 15250
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}






















*Feature: HPSendPreloadCommand
{
    *Name: "HPSendPreloadCommand"
    *DefaultOption: TRUE
    *Option: TRUE
    {
        *Name: ""
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.45
            *Cmd: =PCL_MEDSOURCE_PRELOAD
        }
    }
}
*Feature: ESPRITSupported
{
    *Name: "ESPRITSupported"
    *DefaultOption: True
    *FeatureType: DOC_PROPERTY
    *Option: True
    {
        *Name: " "
    }
}
*Feature: =HPRES_DLLNAME
{
    *Name: "Img"
    *Option: =HPRES_DLLNAME_DEFAULT
    {
        *Name: ""
    }
}
*Feature: HPRedEyeReduction
{
    *Name: "239_267"
    *%HelpIndex: 15437
    *DefaultOption: Off
    *Option: Off
    {
        *Name: "Off"
    }
    *Option: On
    {
        *Name: "On"
    }
}
*Feature: HPDigitalImaging
{
    *Name: "HPDigitalImaging"
    *DefaultOption: HPHomePrinting
    *Option: HPHomePrinting
    {
        *Name: "HPHomePrinting"
    }
    *Option: HPBusinessPrinting
    {
        *Name: "HPBusinessPrinting"
    }
}
*Feature: HPSmartFocus
{
    *Name: "233_235"
    *%HelpIndex: 15440
    *DefaultOption: On
    *Option: Off
    {
        *Name: "Off"
    }
    *Option: On
    {
        *Name: "On"
    }
}
*Feature: HPContrast
{
    *Name: "265_260_262_258"
    *%HelpIndex: 15438
    *DefaultOption: Off
    *Option: Off
    {
        *Name: "Off"
    }
    *Option: On
    {
        *Name: "On"
    }
    *Option: Low
    {
        *Name: "Low"
    }
    *Option: Medium
    {
        *Name: "Medium"
    }
    *Option: High
    {
        *Name: "High"
    }
}
*Feature: HPDigitalFlash
{
    *Name: "256_401_404_244"
    *%HelpIndex: 15439
    *DefaultOption: On
    *Option: Off
    {
        *Name: "Off"
    }
    *Option: On
    {
        *Name: "On"
    }
    *Option: Low
    {
        *Name: "Low"
    }
    *Option: Medium
    {
        *Name: "Medium"
    }
    *Option: High
    {
        *Name: "High"
    }
}
*Feature: HPSharpness
{
    *Name: "225_227_229_231"
    *%HelpIndex: 15441
    *DefaultOption: Off
    *Option: Off
    {
        *Name: "Off"
    }
    *Option: On
    {
        *Name: "On"
    }
    *Option: Low
    {
        *Name: "Low"
    }
    *Option: Medium
    {
        *Name: "Medium"
    }
    *Option: High
    {
        *Name: "High"
    }
}
*Feature: HPSmoothing
{
    *Name: "215_218_220_222"
    *%HelpIndex: 15442
    *DefaultOption: Off
    *Option: Off
    {
        *Name: "Off"
    }
    *Option: On
    {
        *Name: "On"
    }
    *Option: Low
    {
        *Name: "Low"
    }
    *Option: Medium
    {
        *Name: "Medium"
    }
    *Option: High
    {
        *Name: "High"
    }
}
*Feature: HPJpegPngPassthrough
{
    *Name: "JPEG/PNG Pass-through Enabled"
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }
}
*Feature: Halftone
{
    *Name: "Halftone"
    *DefaultOption: HT_PATSIZE_DEFAULT
    *Option: HT_PATSIZE_DEFAULT
    {
        *Name: "HT_PATSIZE_DEFAULT"
    }
}
*Feature: HPHagakiPrinting
{
    *Name: "HPHagakiPrinting"
    *DefaultOption: TRUE
    *Option: TRUE
    {
        *Name: ""
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.36
            *CallbackID: 30
        }
    }
}
*Feature: =HPHT_DLLNAME
{
    *Name: "Img"
    *Option: =HPHT_DLLNAME_DEFAULT
    {
        *Name: ""
    }
}





*Feature: HPXMLFileUsed
{
    *Name: "HPXMLFileUsed"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: hpp0370t.xml
    *Option: hpp0370t.xml
    {
        *Name: "hpp0370t.xml"
    }
}


*Feature: =HPMH_DLLNAME
{
    *Name: "Img"
    *Option: =HPMH_DLLNAME_DEFAULT
    {
        *Name: ""
    }
}
*Feature: HPHPAFilter
{
    *Name: "HPA Filtering Enabled"
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }
}
*Feature: HPAdvancedColorSetting
{
    *Name: "HPAdvancedColorSetting"
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }
    *Option: CyanRange
    {
        *Name: "-50_50"
    }
    *Option: MagentaRange
    {
        *Name: "-50_50"
    }
    *Option: YellowRange
    {
        *Name: "-50_50"
    }
    *Option: BlackRange
    {
        *Name: "-50_50"
    }
    *Option: Brightness
    {
        *Name: ""
    }
    *Option: Saturation
    {
        *Name: ""
    }
    *Option: ColorTone
    {
        *Name: ""
    }
}
*Feature: HPCRDCommand
{
    *Name: "HPCRDCommand"
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.5
            *CallbackID: 15
        }
    }
}
*Feature: HPSendUnitMeasureCommand
{
    *Name: "HPSendUnitMeasureCommand"
    *DefaultOption: TRUE
    *Option: TRUE
    {
        *Name: ""
        *switch: PrintQuality
        {
            *case: FastDraft
            {
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.35
                    *Cmd: "<1B>&l0E<1B>&l0L<1B>&u300D"
                }
            }
            *case: Normal
            {
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.35
                    *Cmd: "<1B>&l0E<1B>&l0L<1B>&u600D"
                }
            }
            *case: Best
            {
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.35
                    *Cmd: "<1B>&l0E<1B>&l0L<1B>&u600D"
                }
            }
            *case: 4800x1200
            {
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.35
                    *Cmd: "<1B>&l0E<1B>&l0L<1B>&u1200D"
                }
            }
        }
    }
}
*%-------------------------------------------------------------------------
*%% ConstraintsSection starts
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*%% CommandSection starts
*%-------------------------------------------------------------------------
*Command: CmdStartJob
{
    *Order: JOB_SETUP.1
    *Cmd: =PJL_EXIT_LANGUAGE
}
*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: =PJL_EXIT_LANGUAGE"@PJL EOJ<0A>"=PJL_EXIT_LANGUAGE
}
*Command: CmdStartDoc
{
    *Order: DOC_SETUP.10
    *Cmd: ""
}
*Command: CmdEndDoc
{
    *Order: DOC_FINISH.10
    *Cmd: ""
}
*Command: CmdStartPage
{
    *Order: PAGE_SETUP.60
    *Cmd: ""
}
*Command: CmdEndPage
{
    *Order: PAGE_FINISH.8
    *Cmd: "<1B>*rC<0C>"
}
*RotateCoordinate?: TRUE
*RotateRaster?: FALSE
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 600
*YMoveUnit: 600
*Command: CmdXMoveAbsolute
{
    *Cmd: "<1B>*p" %d{DestX}"X"
}
*Command: CmdYMoveAbsolute
{
    *Cmd: "<1B>*p" %d{PhysPaperLength - DestY}"Y"
}
*Command: CmdCR
{
    *Cmd: "<0D>"
}
*Command: CmdLF
{
    *Cmd: "<0A>"
}
*Command: CmdFF
{
    *Cmd: "<0C>"
}
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*ReverseBandOrderForEvenPages?: TRUE
*Command: CmdSendBlackData
{
    *Cmd: ""
}
*Command: CmdSendCyanData
{
    *Cmd: ""
}
*Command: CmdSendMagentaData
{
    *Cmd: ""
}
*Command: CmdSendYellowData
{
    *Cmd: ""
}
*Command: CmdSendBlockData
{
    *Cmd: ""
}
*OutputOrderReversed?: TRUE
*%-------------------------------------------------------------------------
*%% MiscellaneousSection starts
*%-------------------------------------------------------------------------